<template>
  <div class="new">
    <div class="home_title">
      <slot></slot>
    </div>
    <product-list :goodsList="newGoodsList"></product-list>
  </div>
</template>
 
<script>
import ProductList from "@/components/ProductList";
export default {
  props: ["newGoodsList"],
  data() {
    return {};
  },
  components: {
    ProductList,
  },
};
</script>
 
<style lang = "less" scoped>
.new {
  background: #fff;
  margin-top: 20px;
}
</style>